projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49d251a
)
entry: Don't draw icons twice
author
Timm Bäder
<mail@baedert.org>
Wed, 13 Jan 2016 18:14:33 +0000
(19:14 +0100)
committer
Timm Bäder
<mail@baedert.org>
Thu, 14 Jan 2016 15:02:12 +0000
(16:02 +0100)
gtk/gtkentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkentry.c
b/gtk/gtkentry.c
index ef35ffccbdac468c129c09bee3bed99eef7f0b83..94e2856500393d7f035311f064b55afdbe0eeae2 100644
(file)
--- a/
gtk/gtkentry.c
+++ b/
gtk/gtkentry.c
@@
-4014,15
+4014,6
@@
gtk_entry_render (GtkCssGadget *gadget,
/* Draw entry_bg, shadow, progress and focus */
gtk_entry_draw_frame (widget, context, cr);
- /* Draw icons */
- for (i = 0; i < MAX_ICONS; i++)
- {
- EntryIconInfo *icon_info = priv->icons[i];
-
- if (icon_info != NULL)
- gtk_css_gadget_draw (icon_info->gadget, cr);
- }
-
/* Draw text and cursor */
cairo_save (cr);